<template>
	<view class="c1">
		<view class="aa">
			<view class="b1">{{theTheme}}</view>
			<u-line></u-line>
			<view class="b2">{{theAuthor}} {{createTime}}</view>
			<view class="b3">
				<!-- <image class="pic" src="../../../static/OIP-C.jpg" mode=""></image> -->
			</view>
			<view class="b2">
				<text>{{content}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item: [],
				theTheme: '',
				content: '',
				createTime: '',
				theAuthor: ''
			}
		},
		onLoad(val) {
			// 判断不为空
			if (val.item) {
				const ss = JSON.parse(decodeURIComponent(val.item));
				for (var i = 0; i < ss.length; i++) {
					this.theTheme = ss[i].theTheme
					this.content = ss[i].content
					this.createTime = ss[i].createTime
					this.theAuthor = ss[i].theAuthor
				}
				// this.theTheme = uu.theTheme
				// this.content = uu.content
				// this.createTime = uu.createTime
				// this.theAuthor = uu.theAuthor
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	image {
		width: 690rpx;
		height: 350rpx;
	}

	.aa {
		width: 730rpx;
		height: 300rpx;
		border: 1px solid #8799A3;
		box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.3);
	}

	.c1 {
		margin-left: 10rpx;
		width: 730rpx;
		background: #efefef;
		height: 1200rpx;
	}

	.b1 {
		font-size: 35rpx;
		font-weight: bold;
		margin-left: 20rpx;
	}

	.b2 {
		margin-top: 30rpx;
		margin-left: 20rpx;
		color: #ED1C24;
	}

	.b3 {
		margin-left: 20rpx;
	}
</style>
